package com.qf.mapper;

import com.qf.pojo.Exam;
import com.qf.utils.ResultMsg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamMapper {
    List<Exam> findAll(@Param("classId") Integer classId, @Param("courseId") Integer courseId, @Param("start1") int start , @Param("limit1") int limit);

    int deleteByid(@Param("examId") Integer examId);

    Exam selectByid(Integer examId);

    int insert(Exam exam);

    int updateByid(Exam exam);

    int updatestatus(@Param("id") int id,@Param("status") int status);
}
